package com.bstek.utils;


import com.bstek.model.UserToken;


import java.util.Date;

public class JwtUtils {

/*
    public static String generateToken(UserToken userToken, int expire) throws Exception {
        String token =  Jwts.builder().setSubject(userToken.getUsername())
                .setExpiration(new Date(System.currentTimeMillis()+expire))
                .signWith(SignatureAlgorithm.HS256, CommonConstants.JWT_PRIVATE_KEY).compact();
        return token;
    }
*/

}
